﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

/// <summary>
/// Summary description for RequestDetailEntity
/// </summary>
public class RequestDetailEntity
{
    #region Propertives
    private RequestInfo rqRequestCode;
    public RequestInfo RqRequestCode
    {
        get { return rqRequestCode; }
        set { rqRequestCode = value; }
    }
    private int iCodeDetail;
    public int ICodeDetail
    {
        get { return iCodeDetail; }
        set { iCodeDetail = value; }
    }
    private DateTime dtDetailDate;
    public System.DateTime DtDetailDate
    {
        get { return dtDetailDate; }
        set { dtDetailDate = value; }
    }
    private String strDescription;
    public System.String StrDescription
    {
        get { return strDescription; }
        set { strDescription = value; }
    }
    private float fQuantity;
    public float FQuantity
    {
        get { return fQuantity; }
        set { fQuantity = value; }
    }
    private float fAmountUSD;
    public float FAmountUSD
    {
        get { return fAmountUSD; }
        set { fAmountUSD = value; }
    }
    private float fExRate;
    public float FExRate
    {
        get { return fExRate; }
        set { fExRate = value; }
    }
    private float fAmountVND;
    public float FAmountVND
    {
        get { return fAmountVND; }
        set { fAmountVND = value; }
    }
    private float fVAT;
    public float FVAT
    {
        get { return fVAT; }
        set { fVAT = value; }
    }
    private float fAmountVAT;
    public float FAmountVAT
    {
        get { return fAmountVAT; }
        set { fAmountVAT = value; }
    }
    private float fTotal;
    public float FTotal
    {
        get { return fTotal; }
        set { fTotal = value; }
    }
    private String strVoucher;
    public System.String StrVoucher
    {
        get { return strVoucher; }
        set { strVoucher = value; }
    }
    #endregion
    public RequestDetailEntity()
    {
        RqRequestCode = new RequestInfo();
        iCodeDetail = -1;
        DtDetailDate = DateTime.Now.Date;
        StrDescription = Constant.STR_DEFAULT;
        strVoucher = Constant.STR_DEFAULT;
        FQuantity = 0;
        FAmountUSD = 0;
        FExRate = 0;
        FAmountVND = 0;
        FVAT = 0;
        FAmountVAT = 0;
        fTotal = 0;
    }
}
